package dico.finder;

/**
 * interface to create a word discribe by a line
 * 
 * by example : 
 * 
 * être EETR *V111
 * or
 * être,EETR,*V111
 * or
 * être|EETR|*V111
 * 
 * @author thomas
 *
 */
public interface WordFactory {

	/**
	 * create a word, it's can be a verb a name etc...
	 * 
	 * @param line The line who show the word, by exemple : name *N
	 * 
	 * @return the word in an object
	 */
	public Word create(String line);

}
